decimal to binary & binary to decimal conversion Questions

These questions are generally asked in university exam

Question 1: Convert decimal number 10 to binary.

Solution: The decimal number 10 can be converted to binary by dividing by 2 and writing down the remainders.

Now, read the remainders from bottom to top: 1010 is the binary equivalent of decimal 10.

Question 2: Convert binary number 1011 to decimal.

Solution: The binary number 1011 can be converted to decimal by multiplying each bit by 2 raised to the power of its position (starting from 0 on the right).

The decimal equivalent of binary 1011 is 11.

Question 3: Convert decimal number 25 to binary.

Solution: Divide 25 by 2, writing down the remainders.

Reading the remainders from bottom to top: 11001 is the binary equivalent of decimal 25.

Question 4: Convert binary number 1100 to decimal.

Solution: Multiply each bit by 2 raised to the power of its position.

The decimal equivalent of binary 1100 is 12.

Question 5: Convert decimal number 47 to binary.

Solution: Divide 47 by 2, writing down the remainders.

Reading the remainders from bottom to top: 101111 is the binary equivalent of decimal 47.

Question 6: Convert binary number 101010 to decimal.

Solution: Multiply each bit by 2 raised to the power of its position.

The decimal equivalent of binary 101010 is 42.

Question 7: Convert decimal number 63 to binary.

Solution: Divide 63 by 2, writing down the remainders.

Reading the remainders from bottom to top: 111111 is the binary equivalent of decimal 63.

Question 8: Convert binary number 100101 to decimal.

Solution: Multiply each bit by 2 raised to the power of its position.

The decimal equivalent of binary 100101 is 37.

Question 9: Convert decimal number 15 to binary.

Solution: Divide 15 by 2, writing down the remainders.

Reading the remainders from bottom to top: 1111 is the binary equivalent of decimal 15.

Question 10: Convert binary number 1110 to decimal.

Solution: Multiply each bit by 2 raised to the power of its position.

The decimal equivalent of binary 1110 is 14.